public class Pos
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
int |
timeout |
Constructor and Description |
---|
Pos(USBSerialPort serialPort,
PL2303Driver mSerial) |
Modifier and Type | Method and Description |
---|---|
boolean |
POS_IsOpen() |
int |
POS_Read(byte[] buffer,
int offset,
int count,
int timeout) |
int |
POS_Write(byte[] buffer,
int offset,
int count,
int timeout) |
void |
POS_WriteToFile(byte[] buffer,
int offset,
int count,
java.lang.String dumpfile) |
void |
POS_WriteToFile(java.lang.String text,
java.lang.String dumpfile) |
public Pos(USBSerialPort serialPort, PL2303Driver mSerial)
public int POS_Write(byte[] buffer, int offset, int count, int timeout)
public int POS_Read(byte[] buffer, int offset, int count, int timeout)
public boolean POS_IsOpen()
public void POS_WriteToFile(java.lang.String text, java.lang.String dumpfile)
public void POS_WriteToFile(byte[] buffer, int offset, int count, java.lang.String dumpfile)